*,
*:before,
*:after {
  box-sizing: border-box;
}
p {
  margin: 0;
  padding: 0;
}
body {
  overflow-x: hidden;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  font-size: $--font-size-base;
  line-height: $base--line-height;
  color: $--color-text-primary;
  background-color: #fff;

  &::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  &::-webkit-scrollbar-track {
    background: #efefef;
    border-radius: 2px;
  }

  &::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 10px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #888;
  }
}

a {
  color: mix(#fff, $--color-primary, 20%);
  text-decoration: none;

  &:focus,
  &:hover {
    color: $--color-primary;
    text-decoration: underline;
  }
}

img {
  vertical-align: middle;
}

:focus,
:hover {
  outline: none;
}

/* Utils
------------------------------ */
[v-cloak] {
  display: none;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

.fr {
  float: right !important;
}

.fl {
  float: left !important;
}

.fi {
  float: initial !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mr-auto {
  margin-right: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.w-percent-100 {
  width: 100% !important;
}

.base-line-height {
  line-height: $base--line-height !important;
}

/* Reset element-ui
------------------------------ */
.aui-wrapper {
  .el-card + .el-card {
    margin-top: 15px;
  }

  .el-input__prefix .el-input__icon {
    display: inline-block;
    vertical-align: middle;
  }

  .el-date-editor .el-range-separator {
    width: 8%;
  }

  .el-table th {
    color: $--color-text-primary;
    background-color: $--background-color-base;
  }

  .el-pagination {
    margin-top: 15px;
    text-align: right;
  }

  .el-table__expand-icon {
    display: inline-block;
    width: 14px;
    vertical-align: middle;
    margin-right: 5px;
  }
}

/* Common
------------------------------ */
.icon-svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
  overflow: hidden;
}

.aui-card--fill .el-card__header {
  height: $content--card-header-height;
  line-height: $content--card-header-height - 36px;
}

.aui-card__title {
  font-size: 16px;
}

.aui-form__label-icon {
  display: inline-block;
  margin: 0 3px;
  vertical-align: middle;
  font-size: 18px;
  color: $--color-text-secondary;
}

.aui-button--dashed {
  border-style: dashed;

  &:focus,
  &:hover {
    background-color: transparent;
  }

  &-add {
    > span > *[class*='el-icon-'],
    > span > *[class*='icon'] {
      vertical-align: middle;
      font-size: 18px;
      margin-right: 5px;
    }
  }
}

.aui-theme-tools {
  position: fixed;
  top: $navbar--height + $content--tabs-header-height + 15px;
  right: -210px;
  bottom: 0;
  z-index: 1010;
  width: 210px;
  transition: right 0.3s;

  &--open {
    right: 0;
  }

  &__toggle {
    position: absolute;
    top: 80px;
    left: -40px;
    width: 40px;
    padding: 10px 8px;
    text-align: center;
    font-size: 20px;
    border-right: 0;
    border-radius: $--border-radius-base 0 0 $--border-radius-base;
    color: #fff;
    background-color: $--color-primary;
    cursor: pointer;
  }

  &__content {
    height: 100%;
    padding: 5px 20px 20px;
    border: 1px solid $--border-color-lighter;
    border-radius: $--border-radius-base 0 0 $--border-radius-base;
    background-color: #fff;

    .el-radio {
      display: block;
      margin-left: 0 !important;
      line-height: 28px;
    }
  }

  &__item + &__item {
    margin-top: 15px;
    border-top: 1px solid $--border-color-lighter;
  }
}

/* Layout
------------------------------ */
.aui-wrapper {
  position: relative;
  padding-top: $navbar--height;
}

/* Sidebar fold
------------------------------ */
.aui-sidebar--fold {
  .aui-navbar {
    &__header,
    &__brand {
      width: $sidebar--width-fold;
    }

    &__brand {
      &-lg {
        display: none;
      }

      &-mini {
        display: inline-block;
      }
    }

    &__icon-menu--switch {
      transform: rotateZ(180deg);
    }
  }

  .aui-sidebar {
    &__inner {
      width: $sidebar--width-fold + 20px;
    }

    &,
    &__menu {
      width: $sidebar--width-fold;
    }

    &__menu > li > .el-submenu__title {
      text-align: center;
    }

    &__menu-icon {
      margin-right: 0;
      font-size: 18px;
    }
  }

  .aui-content {
    &__wrapper {
      margin-left: $sidebar--width-fold;
    }

    &--tabs > .el-tabs > .el-tabs__header {
      left: $sidebar--width-fold;
    }
  }
}

/* Navbar
------------------------------ */
.aui-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  align-items: stretch;
  height: $navbar--height;
  //background-color: $--color-primary;
  background-color: var(--nav-color);
  box-shadow: var(--box-shadow);
  transition: all 0.3s;
  > .el-menu-item {
    &:focus,
    &:hover {
      color: var(--nav-color-text);
      background-color: var(--nav-color);
    }
  }
  &--colorful {
    .aui-navbar__body {
      background-color: transparent;
    }

    .aui-navbar__menu {
      > .el-menu-item,
      > .el-submenu > .el-submenu__title {
        color: var(--nav-color-text);

        &:focus,
        &:hover {
          color: var(--nav-color-text);
          background-color: var(--nav-color);
        }
      }

      > .el-menu-item.is-active,
      > .el-submenu.is-active > .el-submenu__title {
        color: #fff;

        &:focus,
        &:hover {
          color: #fff;
        }
      }

      .el-menu-item i,
      .el-submenu__title i,
      .el-menu-item svg,
      .el-submenu__title svg,
      .el-menu-item .el-dropdown {
        color: var(--nav-color-text) !important;
      }

      .el-button {
        color: var(--nav-color-text);
        background-color: transparent;
      }
    }

    .aui-navbar__search {
      &-txt {
        .el-input__inner {
          color: #fff;
          border-color: #fff;

          &::-webkit-input-placeholder {
            color: #fff;
          }
        }
      }
    }
  }

  &__header {
    position: relative;
    width: $sidebar--width;
    height: $navbar--height;
    transition: width 0.3s;
  }

  &__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    overflow: hidden;
    transition: width 0.3s;

    &-lg,
    &-mini {
      max-width: 100%;
      color: #fff;
      cursor: pointer;

      &:focus,
      &:hover {
        color: #fff;
        text-decoration: none;
      }
    }

    &-mini {
      display: none;
    }
  }

  &__body {
    position: relative;
    display: flex;
    flex: 1;
    background-color: #fff;
    overflow: hidden;
  }

  &__menu {
    background-color: transparent;
    border-bottom: 0 !important;

    a:focus,
    a:hover {
      text-decoration: none;
    }

    .el-menu-item,
    .el-submenu > .el-submenu__title {
      height: $navbar--height;
      padding: 0 15px;
      line-height: $navbar--height;
      border-color: transparent !important;
    }

    .el-menu-item.is-active,
    .el-submenu.is-active > .el-submenu__title {
      color: $--color-text-secondary;

      &:focus,
      &:hover {
        color: $--color-text-primary;
      }
    }

    .el-menu-item {
      &:focus,
      &:hover {
        .aui-navbar__icon-menu {
          color: $--color-text-primary;
        }

        .el-dropdown {
          color: $--color-text-primary;

          .el-icon-arrow-down {
            transform: rotateZ(180deg);
          }
        }
      }

      * {
        vertical-align: initial;
      }

      .aui-navbar__icon-menu {
        vertical-align: middle;
        font-size: 16px;
      }

      .el-dropdown {
        color: $--color-text-secondary;

        .el-icon-arrow-down {
          width: auto;
          font-size: 12px;
          margin: 0 0 0 5px;
          transition: transform 0.3s;
        }
      }
    }

    .el-badge {
      display: inline;
      z-index: 2;

      &__content {
        line-height: 16px;
      }
    }
  }

  &__search {
    > *[class*='el-icon-'],
    > *[class*='icon'] {
      display: inline-block;
      vertical-align: middle;
    }

    &-txt {
      width: 0;
      transition: width 0.3s, margin-left 0.3s;

      &.is-show {
        width: 210px;
        margin-left: 8px;
      }

      .el-input__inner {
        height: $navbar--height - 20px;
        padding: 0;
        line-height: $navbar--height - 20px;
        border-color: $--color-text-primary;
        border-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
      }
    }
  }

  &__avatar {
    .el-dropdown-link {
      > img {
        width: 36px;
        height: auto;
        margin-right: 5px;
        border-radius: 100%;
        vertical-align: middle;
      }
    }
  }
}

/* Sidebar
------------------------------ */
.aui-sidebar {
  position: fixed;
  top: $navbar--height;
  left: 0;
  bottom: 0;
  z-index: 1020;
  width: $sidebar--width;
  background-color: var(--menu-color);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: width 0.3s;

  &--dark {
    background-color: $sidebar--background-color-dark;

    .aui-sidebar__menu,
    > .el-menu--popup {
      background-color: $sidebar--background-color-dark;

      .el-menu-item,
      .el-submenu > .el-submenu__title {
        color: $sidebar--text-color-dark;

        &:focus,
        &:hover {
          color: mix(#fff, $sidebar--text-color-dark, 50%);
          background-color: mix(#fff, $sidebar--background-color-dark, 2.5%);
        }
      }

      .el-menu,
      .el-submenu.is-opened {
        background-color: mix(#000, $sidebar--background-color-dark, 15%);
      }

      .el-menu-item.is-active,
      .el-submenu.is-active > .el-submenu__title {
        color: mix(#fff, $sidebar--text-color-dark, 80%);
      }
    }
  }

  &__inner {
    position: relative;
    z-index: 1;
    width: $sidebar--width + 20px;
    height: 100%;
    padding-bottom: 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: width 0.3s;
  }

  .el-menu {
    background: var(--menu-color);
    .el-submenu__title i{
        color: var(--menu-color-text) !important;
    }
  }
  &__menu {
    width: $sidebar--width;
    border-right: 0;
    transition: width 0.3s;

    .el-menu-item,
    .el-submenu__title {
      height: $sidebar--menu-item-height;
      line-height: $sidebar--menu-item-height;
      color: var(--menu-color-text);
      &:hover {
        background: var(--menu-hover-color);
      }
      &:focus {
        background: var(--menu-hover-color);
      }
    }
  }

  &__menu-icon {
    display: inline-block;
    vertical-align: middle;
    width: 24px !important;
    margin-right: 5px;
    text-align: center;
    font-size: 16px;
    color: inherit !important;
    transition: font-size 0.3s;
  }
}

/* Content
------------------------------ */
.aui-content {
  position: relative;
  padding: $content--padding;
  min-height: calc(100vh - #{$navbar--height});

  &__wrapper {
    position: relative;
    margin-left: $sidebar--width;
    min-height: calc(100vh - #{$navbar--height});
    background-color: var(--page-background);
    transition: margin-left 0.3s;
  }

  > .aui-card--fill > .el-card__body {
    min-height: calc(#{$content--fill-height} - 2px);
  }

  > .aui-card--fill > .el-card__header + .el-card__body {
    min-height: calc(
      #{$content--fill-height} - #{$content--card-header-height} - 2px
    );
  }

  &--tabs {
    padding: $content--tabs-header-height 0 0;
  }

  &--tabs-tools {
    position: fixed;
    top: $navbar--height;
    right: 0;
    z-index: 931;
    min-width: $content--tabs-header-height;
    height: $content--tabs-header-height;
    padding: 0 12px;
    text-align: center;
    font-size: 16px;
    line-height: $content--tabs-header-height;
    background-color: var(--nav-tabs-color);
    cursor: pointer;
    color: var(--nav-tabs-text-color);
  }

  &--tabs-icon-nav {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
  }

  > .el-tabs {
    > .el-tabs__header {
      position: fixed;
      top: $navbar--height;
      left: $sidebar--width;
      right: 0;
      z-index: 930;
      padding: 0 55px 0 0;
      margin: 0;
      box-shadow: var(--box-shadow);
      background-color: var(--nav-tabs-color);
      transition: left 0.3s;

      > .el-tabs__nav-wrap {
        margin-bottom: 0;

        &:after {
          display: none;
        }

        > .el-tabs__nav-next,
        > .el-tabs__nav-prev {
          line-height: $content--tabs-header-height;
        }

        > .el-tabs__nav-scroll > .el-tabs__nav {
          & > .el-tabs__active-bar {
            display: none;
          }

          & > .el-tabs__item {
            height: $content--tabs-header-height;
            padding: 0 15px;
            line-height: $content--tabs-header-height;
            border: 0;
            color: var(--nav-tabs-text-color);

            &:focus,
            &:hover,
            &.is-active {
              color: var(--nav-tabs-active-text-color);
              background-color: var(--nav-tabs-active-color);

              &:after {
                display: block;
              }

              > .el-icon-close {
                color: var(--nav-tabs-active-text-color);
              }
            }

            &:after {
              display: none;
              position: absolute;
              bottom: 0;
              left: 0;
              content: '';
              width: 100%;
              height: 2px;
              background-color: var(--nab-tabs-active-line-color, #17114d);
            }

            + .el-tabs__item {
              margin-left: 1px;
            }

            > .el-icon-close {
              width: 14px;
              margin-left: 15px;
              color: $--color-text-secondary;
            }

            > i.icon {
              display: inline-block;
              vertical-align: middle;
              font-size: 18px;
            }
          }
        }
      }
    }

    > .el-tabs__content {
      padding: $content--padding;

      // ===================== MB-15272 START ===================== //
      height: calc(calc(100vh - 50px - 38px));
      // ===================== MB-15272 END ===================== //

      .el-loading-mask {
        z-index: 830;
      }

      > .el-tab-pane {
        min-height: calc(#{$content--fill-height-tabs});

        > .aui-card--fill > .el-card__body {
          min-height: calc(#{$content--fill-height-tabs} - 2px);
        }

        > .aui-card--fill > .el-card__header + .el-card__body {
          min-height: calc(
            #{$content--fill-height-tabs} - #{$content--card-header-height} -
              2px
          );
        }

        &.is-iframe {
          height: calc(
            #{$content--fill-height-tabs} + #{$content--padding * 2}
          );
          margin: -$content--padding;
          min-height: auto;

          > .aui-card--fill {
            background-color: transparent;
          }

          > .aui-card--fill > .el-card__header {
            background-color: #fff;
          }

          > .aui-card--fill > .el-card__body {
            height: calc(#{$content--fill-height-tabs} - 2px);
            margin: $content--padding;
            min-height: auto;
            border: $--border-base;
            border-color: $--border-color-lighter;
            border-radius: $--border-radius-base;
            background-color: #fff;
          }

          > .aui-card--fill > .el-card__header + .el-card__body {
            height: calc(
              #{$content--fill-height-tabs} - #{$content--card-header-height} -
                2px
            );
          }
        }
      }
    }
  }

  .ql-toolbar {
    line-height: 20px;

    &.ql-snow {
      border-color: $--border-color-base;
    }

    .ql-formats {
      margin: 0 5px;
    }
  }

  .ql-container {
    height: 150px;

    &.ql-snow {
      border-color: $--border-color-base;
    }
  }
}

/* Page
------------------------------ */
*[class*='aui-page__'] {
  padding-top: 0;

  .aui-content {
    min-height: auto;

    &__wrapper {
      min-height: 100vh;
      margin-left: 0;
    }

    > .aui-card--fill > .el-card__body {
      min-height: calc(100vh - #{$content--padding * 2} - 2px);
    }

    > .aui-card--fill > .el-card__header + .el-card__body {
      min-height: calc(
        100vh - #{$content--padding * 2} - #{$content--card-header-height} - 2px
      );
    }
  }
}

textarea::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

textarea::-webkit-scrollbar-track {
  background: #efefef;
  border-radius: 2px;
}

textarea::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: #888;
}

div::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

div::-webkit-scrollbar-track {
  background: #efefef;
  border-radius: 2px;
}

div::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}

div::-webkit-scrollbar-thumb:hover {
  background: #888;
}

// grid
.e-grid .e-spinner-pane {
  //hide the Grid spinner
  display: none !important;
}

//global
$--theme-color: #17b3a3;
$--theme-color-background: #e8f7f6;
$--themt-color-border: #a2e1da;

.online_more_text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manyline_more_text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cursor_pointer {
  cursor: pointer;
}

.no-padding {
  padding: 0 !important;
}

.el-dialog {
  &.no-header {
    & > .el-dialog__header {
      display: none;
    }
  }

  &.no-padding-dialog {
    & > .el-dialog__body {
      padding: 0;
    }
  }

  &.dialog__header--shadow {
    & > .el-dialog__header {
      padding: 14px 20px;
      box-shadow: 0 1px 0 0 #f0f0f0;
    }
  }

  & > .el-dialog__body {
    .dialog-footer {
      padding: 10px;
      text-align: right;

      &.el-form-item {
        margin-bottom: 0;
      }
    }
  }
}

.el-form {
  &.form-margin--mini {
    & > .el-form-item {
      & > .el-form-item__label {
        padding: 0;
      }

      margin-bottom: 10px;
    }
  }
}

.el-button {
  &.el-button--full {
    width: 100%;
  }

  &.el-button--mt {
    margin-top: 20px;
  }

  &.el-button--smt {
    margin-top: 8px;
  }

  &.el-button--blove {
    color: #138dc7;
    cursor: pointer;

    &.el-button--text {
      &:hover {
        color: #66b1ff;
        border-color: transparent;
        background-color: transparent;
      }
    }
  }
}

.el-popover {
  &.button-vessel {
    .el-form-item__label::before {
      content: '' !important;
    }
  }
}

.el-select {
  &.multiple-select {
    &--collapse {
      min-width: 115px;

      & > .el-select__tags {
        flex-wrap: nowrap;

        span > .el-tag:last-of-type {
          max-width: none;
          overflow: visible;
          text-overflow: initial;
          white-space: nowrap;
          float: right;
        }
      }
    }
  }
}

.el-link {
  &--blove {
    color: #138dc7;

    &.is-underline {
      text-decoration: underline;
    }

    &:hover {
      color: #138dc7;
    }
  }
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}
.sticky {
  position: sticky;
}

.static {
  position: static;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;

  &\! {
    display: inline-flex !important;
  }
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-around {
  justify-content: space-around;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-self-end {
  justify-self: end;
}

.justify-self-start {
  justify-self: start;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.self-end {
  align-self: flex-end;

  &\! {
    align-self: flex-end !important;
  }
}

.self-start {
  align-self: flex-start;

  &\! {
    align-self: flex-start !important;
  }
}

.self-center {
  align-self: center;

  &\! {
    align-self: center !important;
  }
}

.items-start {
  align-items: flex-start;

  &\! {
    align-items: flex-start !important;
  }
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-items-center {
  justify-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.content-start {
  align-content: flex-start;
}

.flex-1 {
  flex: 1;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap {
  flex-wrap: wrap;
}

.bg-white {
  background-color: #fff;
}

.border-0 {
  border-width: 0px;
}

.bg-transparent {
  background-color: transparent;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.text-right {
  text-align: right;
}

.h-0 {
  height: 0;
}

.w-0 {
  width: 0;
}

.font-10 {
  font-size: 12px !important;
  transform: scale(0.83, 0.83) translateX(-16px);
  *font-size: 10px;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.py-16 {
  padding: 16px 0;
}

.px-16 {
  padding: 0 16px;
}

.p-16 {
  padding: 16px;
}

.pt-16 {
  padding-top: 16px;
}

.pl-16 {
  padding-left: 16px;
}

.pr-16 {
  padding-right: 16px;
}

.mr-16 {
  margin-right: 16px;
}

.ml-0 {
  margin-left: 0 !important;
}

.fixed {
  position: fixed;
}

.bottom-0 {
  bottom: 0px;
}

.cursor-pointer {
  cursor: pointer;
}

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.w-4\/6 {
  width: 66.666667%;
}

.scroll-bar {
  &::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  &::-webkit-scrollbar-track {
    background: #efefef;
    border-radius: 2px;
  }

  &::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 10px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #888;
  }
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.top-center {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.top-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.center-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bottom-left {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.bottom-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bottom-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.oss-url {
  background-image: url(#{$--ossLink}/app/dashboard/portal-bg.png);
}

.el-select__tags-text {
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.el-tag__close.el-icon-close {
  top: -33% !important;
}

.z-modal-footer {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  .form-table .form-table-pc {
    display: block !important;
  }
}
